package com.example.demo.Common.Enum;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;
import lombok.Setter;

@Getter
public enum VisibleScope {
    selfScope("self"),
    friendScope("friends"),
    publicScope("public");

    /** 数据库存储数据 */
    @EnumValue
    @JsonValue
    private final String value;

    VisibleScope(String value) {
        this.value = value;
    }

}
